package com.jg.visitor.controller.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Getter
@Setter
@ToString
public class VisitorApplyRecordVO {

    @ApiModelProperty("申请记录信息")
    private VisitorApplyRecordInfo applyRecordInfo;

    @ApiModelProperty("健康信息")
    private Health healthInfo;


    @Getter
    @Setter
    @ToString
    public static class VisitorApplyRecordInfo{
        @ApiModelProperty("申请人id 数据回显或者新增或编辑访客信息后接口会返回此id")
        private Long visitorInfoId;

        @ApiModelProperty("联系人")
        private String contacts;

        @ApiModelProperty("联系人（被访者）电话")
        private String contactsPhone;

        @ApiModelProperty("拜访开始时间(yyyy-MM-dd HH:mm:ss)")
        private String beginTime;

        @ApiModelProperty("拜访结束时间(yyyy-MM-dd HH:mm:ss)")
        private String endTime;

        @ApiModelProperty("拜访原因")
        private String arriveReason;

        @ApiModelProperty("部门")
        private String department;
    }

    @Getter
    @Setter
    @ToString
    public static class Health{

        @ApiModelProperty("身体状态1正常2异常")
        private Integer bodyStatus;

        @ApiModelProperty("健康码颜色1绿色 2黄色 3红色")
        private Integer healthCode;

        @ApiModelProperty("接种疫苗 1已接种 2未接种")
        private Integer vaccination;

        @ApiModelProperty("省外行程史 1有 2没有")
        private Integer outsideProvinceHistory;

        @ApiModelProperty("核酸图片id")
        private Long nucleicPictureId;

        @ApiModelProperty("行程码图片id")
        private Long tripPictureId;

        @ApiModelProperty("健康码图片id")
        private Long healthPictureId;
    }
}
